<template>
    <div class="base">
        <el-header>帮助中心</el-header>
        <el-container class="container">
            <el-aside width="180px">
                <el-menu router default-active="1" active-text-color="white">
                    <el-menu-item index="/home/help/helpmenu1">演出状态</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu2">订购方式</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu3">关于价格</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu4">数量与团购</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu5">关于座位</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu6">是否包邮</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu7">支付方式</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu8">配送方式</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu9">退换票</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu10">无票赔付</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu11">退款</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu12">联系我们</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu13">订票提示</el-menu-item>
                    <el-menu-item index="/home/help/helpmenu14">评论规则</el-menu-item>
                </el-menu>
            </el-aside>
            <el-main>
                <router-view/>
            </el-main>
        </el-container>
    </div>
</template>

<script>
import httpApi from '@/http'
export default {
    methods: {
        helpers(){
            let params = {id:1}
            httpApi.helpersApi.queryById(params).then(res=>{
                console.log(res)
            })
        }
    },
    mounted() {
        this.helpers()
    },
}
</script>

<style lang="scss" scope>
.base {
    width: 1160px;
    height: 785px;
    margin: auto;
    .el-header {
        font-size: 18px;
        color:#555;
        font-weight: 400;
    }
}
.el-aside {
    height: 765px;
    border: 1px solid #eaeaea;
    list-style-type: disc;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
}
.el-menu-item {
    width: 178px;
    height: 51px;
    text-decoration: none;
    cursor: pointer;
    font-weight: 400;
    padding-left: 25px!important;
}
.el-menu-item.is-active {
    background-color: rgb(242, 89, 63);
    border-bottom: 1px solid #f2593f;
    line-height: 51px;
    font-size: 14px;
}

</style>